← Index
NYTProf Performance Profile   
For flows_to_es.pl
  Run on Mon May 9 23:27:59 2016
Reported on Mon May 9 23:28:09 2016

Filename(eval 46)[/usr/share/perl5/Sub/Quote.pm:5]
StatementsExecuted 135 statements in 518µs
Eval Invoked At/usr/share/perl5/Sub/Quote.pm line 5
Sibling evals1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1022128µs1.13msMethod::Generate::Constructor::::newMethod::Generate::Constructor::new
11115µs27µsSub::Quote::::BEGIN@3.3 Sub::Quote::BEGIN@3.3
1118µs8µsMethod::Generate::Constructor::::BEGIN@6.4Method::Generate::Constructor::BEGIN@6.4
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1{
222µs my $_QUOTED = ${$_[1]->{"\$_QUOTED"}};
3262µs238µs
# spent 27µs (15+11) within Sub::Quote::BEGIN@3.3 which was called: # once (15µs+11µs) by Sub::Quote::_clean_eval at line 3
no warnings 'closure';
# spent 27µs making 1 call to Sub::Quote::BEGIN@3.3 # spent 11µs making 1 call to warnings::unimport
4
# spent 1.13ms (128µs+1.00) within Method::Generate::Constructor::new which was called 10 times, avg 113µs/call: # 9 times (114µs+1.00ms) by Moo::_constructor_maker_for at line 199 of Moo.pm, avg 124µs/call # once (14µs+0s) by Moo::_constructor_maker_for at line 53 of Sub/Defer.pm
sub Method::Generate::Constructor::new {
5package Method::Generate::Constructor;
6
# spent 8µs within Method::Generate::Constructor::BEGIN@6.4 which was called: # once (8µs+0s) by Sub::Quote::_clean_eval at line 11
BEGIN {
712µs $^H = "2018";
81500ns ${^WARNING_BITS} = "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\003";
919µs %^H = (
10 );
111302µs18µs}
# spent 8µs making 1 call to Method::Generate::Constructor::BEGIN@6.4
1293µs my $class = shift;
1392µs $class = ref($class) if ref($class);
1493µs if ($class ne "Method::Generate::Constructor") {
15 if ($Moo::MAKERS{$class}) {
16 Moo->_constructor_maker_for($class,"Method::Generate::Constructor");
17 return $class->new(@_);
18 } elsif ($INC{"Moose.pm"} and my $meta = Class::MOP::get_metaclass_by_name($class)) {
19 return $meta->new_object($class->BUILDARGS(@_));
20 }
21 }
2291µs my $args;
2399µs if ( scalar @_ == 1 ) {
24 unless ( defined $_[0] && ref $_[0] eq 'HASH' ) {
25 die "Single parameters to new() must be a HASH ref"
26 ." data => ". $_[0] ."\n";
27 }
28 $args = { %{ $_[0] } };
29 }
30 elsif ( @_ % 2 ) {
31 die "The new() method for $class expects a hash reference or a key/value list."
32 . " You passed an odd number of arguments\n";
33 }
34 else {
35919µs $args = {@_};
36 }
3799µs my $new = bless({}, $class);;
38935µs if (exists $args->{"accessor_generator"}) {
39 $new->{"accessor_generator"} = $args->{"accessor_generator"};
40 }
4193µs if (exists $args->{"attribute_specs"}) {
42 $new->{"attribute_specs"} = $args->{"attribute_specs"};
43 }
4492µs if (exists $args->{"construction_builder"}) {
45 $new->{"construction_builder"} = $args->{"construction_builder"};
46 }
4793µs if (exists $args->{"construction_string"}) {
48 $new->{"construction_string"} = $args->{"construction_string"};
49 }
5096µs if (exists $args->{"package"}) {
51 $new->{"package"} = $args->{"package"};
52 }
5398µs if (exists $args->{"subconstructor_handler"}) {
54 $new->{"subconstructor_handler"} = $args->{"subconstructor_handler"};
55 }
56932µs return $new;
57 }
5811µs $_QUOTED->[3] = \&Method::Generate::Constructor::new
59}
6015µs1;
61
62;